package com.mallcloud.mall.admin.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "SysDeptRelation", description = "部门关系")
@Data
@TableName(value = "sys_dept_relation", autoResultMap = true)
public class SysDeptRelation implements Serializable {

	@ApiModelProperty(value = "祖先节点")
	private Long ancestor;

	@ApiModelProperty(value = "后代节点")
	private Long descendant;

}
